package com.itheima.service;

import com.itheima.domain.Account;

public interface IAccountService {
    /**
     * 根据id查询
     * @param
     * @return
     */
    Account findAccountById(Integer id);

    /**
     * 转账
     * @param sourceName    转出账户
     * @param targerName    转入账户
     * @param Money         转账金额
     */
    void transfer(String sourceName,String targerName,Float Money);
}
